package think.bank;

public enum Code {
	
	MONEY_NOT_ENOUGH("999","余额不足") , FAIL("991","操作失败"), SUCCESS("000","成功"),取钱("","");
	
	private String code;
	private String desc;
	
	Code(String code,String desc){
		this.code = code;
		this.desc = desc;
	}
	
	public String getCode(){
		return code;
	}
	public String getDesc(){
		return desc;
	}
}
